<!DOCTYPE html>
<html  xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta name="viewport" content="width=device-width, initial-scale=1"/>

<title>测试</title>
<script type="text/javascript" charset="utf-8" src="../ueditor/ueditor.config.js"></script>
 <script type="text/javascript" charset="utf-8" src="../ueditor/ueditor.all.min.js"> </script>
 <script type="text/javascript" charset="utf-8" src="../ueditor/lang/zh-cn/zh-cn.js"></script>
</head>
<body>
	<h1>完整demo</h1>
    <script id="editor" type="text/plain" style="width:1024px;height:500px;"></script>
    <script type="text/javascript">

    	var ue = UE.getEditor('editor',{
    		toolbars: [
    		    ['fullscreen', 'bold', 'italic', 'underline', 'fontborder',
    		    	'insertcode', //代码语言
    		        'fontfamily', //字体
    		        'fontsize', //字号
    		        'paragraph', //段落格式
    		        'simpleupload', //单图上传
    		        ]
    		]
    	});
    </script>
</body>
</html>